package org.sky.algorithm.tree;

public class TreeApplication {

    public static void main(String[] args) {

        BinaryTree binaryTree = new BinaryTree();

        BinaryTreeNode root = new BinaryTreeNode(10);
        binaryTree.setRoot(root);

        BinaryTreeNode left = new BinaryTreeNode(5);
        BinaryTreeNode right = new BinaryTreeNode(15);

        root.setLeftNode(left);
        root.setRightNode(right);

        binaryTree.frontShow();
        binaryTree.middleShow();
        binaryTree.afterShow();


    }

}
